066141bc80ed10fd762fdc8375621039f61ca9b2,core-library/src/integration-test/java/org/silverpeas/core/calendar/CalendarEventManagementIntegrationTest.java,CalendarEventManagementIntegrationTest,updateTheSingleOccurrenceOfAPlannedEventModifyTheEvent,#,293

Before Change


        OffsetDateTime.parse("2016-01-05T10:30:00Z")));
    occurrence.update();

    occurrences = calendar.getPlannedEvents().getOccurrences().in(YearMonth.of(2016, 1));
    assertThat(occurrences.size(), is(1));
    occurrence = occurrences.get(0);
    CalendarEvent updatedEvent = occurrence.getCalendarEvent();

After Change


        OffsetDateTime.parse("2016-01-05T10:30:00Z")));
    occurrence.update();

    occurrences = calendar.in(YearMonth.of(2016, 1)).getEventOccurrences();
    assertThat(occurrences.size(), is(1));
    occurrence = occurrences.get(0);
    CalendarEvent updatedEvent = occurrence.getCalendarEvent();